package com.vpen.controller;



import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version: 1.0
 * @author: Vpen
 * @date: 2021/9/25 20:19
 * @content:
 */
@Api(tags = "hello")
@RestController
@RequestMapping("${api.prefix.url}/api/hello")
public class HelloWorld {

    @GetMapping("/say")
    @ApiOperation("say")
    public String sayHello() {
        return "Hello World";
    }

}
